modelbutton: Reset active menu item on pointer leave
authorTimm Bäder <mail@baedert.org>
Sun, 29 Nov 2020 08:49:08 +0000 (09:49 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Nov 2020 14:23:03 +0000 (09:23 -0500)
commitdc13ff97e2bcbb894ef37872c1860d14571b4647
treeb71ba9b2c0935c79e76f7720923754e16de5156d
parentaf28237569dea636b39da295f286bb46ca246622
modelbutton: Reset active menu item on pointer leave

We don't want to leave an active menu item behind if the pointer doesn't
enter another menu item.
This matches the old GtkMenu behavior
gtk/gtkmodelbutton.c